home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 4: GNU Archives
/
Linux Cubed Series 4 - GNU Archives.iso
/
gnu
/
binutils.7
/
binutils
/
binutils-2.7
/
ld
/
testsuite
/
ld-srec
/
sr1.c
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-07-04
|
350 b
|
26 lines
/* This file is compiled and linked into the S-record format. */
extern int e1;
extern int e2;
int i;
int j = 1;
static int k;
static int l = 1;
static char ab[] = "This is a string constant";
extern int fn1 ();
extern int fn2 ();
int
main ()
{
fn1 (ab);
fn2 ("static string constant");
return e1 + e2 + i + j + k + l;
}
int
__main ()
{
}